package com.briup.corejava.day08.pojo;

public class Zi extends Fu{
    private int z;

    public Zi() {}
    public Zi(int z){
        this.z = z;
    }
    public Zi(int f, int z){
        // 可以使用super调用父类的构造器进行初始化
        super(f);
        this.z = z;
    }
    public void show(){
        System.out.println(super.getF());
        System.out.println(this.z);
    }
}